package com.szrt.day20170415.ch02;

public class Animal {
	
	
	
	
	
	public Animal(String name) {
		super();
		this.name = name;
	}

	/**
	 * 名字
	 */
	private String name;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "Animal [name=" + name + "]";
	}
	
	
	
	
	
	
	

}
